﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KCMS.BusinessLogic.Models;

namespace KCMS.BusinessLogic.Interfaces
{
    public interface IOrderItemService
    {
        OrderItem getById(Guid id);
        IEnumerable<OrderItem> getAll();
        IEnumerable<OrderItem> getByOrder(Guid orderId);
        void update(OrderItem orderItem);
        void delete(Guid id);
        void save(OrderItem orderItem);
    }
}
